package com.hpch.business.param;

import com.hpch.common.core.annotation.QueryField;
import com.hpch.common.core.annotation.QueryType;
import com.hpch.common.core.web.BaseParam;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 企业产品表查询参数
 *
 * @author Lly
 * @since 2025-03-05 21:16:04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel(value = "ProductParam对象", description = "企业产品表查询参数")
public class ProductParam extends BaseParam {
    private static final long serialVersionUID = 1L;

    @QueryField(type = QueryType.EQ)
    private Integer id;

    @ApiModelProperty(value = "是否删除")
    @QueryField(type = QueryType.EQ)
    private Integer deleted;

    @ApiModelProperty(value = "sys_user表id")
    @QueryField(type = QueryType.EQ)
    private Integer userId;

    @ApiModelProperty(value = "u_user 表id")
    @QueryField(type = QueryType.EQ)
    private Integer uId;

    @ApiModelProperty(value = "产品名称")
    private String title;

    // 价格
    @ApiModelProperty(value = "价格")
    private String price;

    // 原价
    @ApiModelProperty(value = "原价")
    private String originalPrice;

    @ApiModelProperty(value = "缩略图")
    private String thumb;

    @ApiModelProperty(value = "简述")
    private String sketchs;

    @ApiModelProperty(value = "详情")
    private String content;

    @ApiModelProperty(value = "排序")
    @QueryField(type = QueryType.EQ)
    private Integer listorder;

    @ApiModelProperty(value = "点击量")
    @QueryField(type = QueryType.EQ)
    private Integer hits;

    @ApiModelProperty(value = "状态 0 正常 1 隐藏")
    @QueryField(type = QueryType.EQ)
    private Integer statusFlag;

    @ApiModelProperty(value = "SEO关键词")
    private String keywords;

    @ApiModelProperty(value = "SEO描述")
    private String description;

    @ApiModelProperty(value = "Tags标签")
    private String tags;

    @ApiModelProperty(value = "公司名称")
    private String companyName;
}
